//
//  pushDatamodel.h
//  YaoHeAPP
//
//  Created by xyh on 15/12/19.
//  Copyright © 2015年 mac. All rights reserved.
//

#import <Foundation/Foundation.h>

@interface pushDatamodel : NSObject

@property(nonatomic,assign)NSInteger ID;//消息ID
@property(nonatomic,copy)NSString *publisher;
@property(nonatomic,assign)NSInteger receivertype;//接受者身份（买家（1）、卖家（））

@property(nonatomic,strong)NSArray *To;
@property(nonatomic,copy)NSString *notification;
@property(nonatomic,copy)NSString *Description;
@property(nonatomic,assign)NSInteger happentime;//推送时间
@property(nonatomic,assign)NSInteger type;//消息类型
@property(nonatomic,strong)NSDictionary *data;// 

-(id)initWith:(NSDictionary*)dic;
+ (NSDictionary *)dictionaryWithJsonString:(NSString *)jsonString;
@end
